package com.mineplatform.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.mineplatform.dao.M_MineCategoryDao;
import com.mineplatform.domain.M_MineCategory;
import com.mineplatform.iservice.IM_MineCategoryService;



@Service
public class M_MineCategoryService implements IM_MineCategoryService {

	private M_MineCategoryDao _m_minecategorydao;

	@Autowired
	public M_MineCategoryService(M_MineCategoryDao m_minecategorydao) {
		this._m_minecategorydao = m_minecategorydao;
	}

	@Transactional(propagation = Propagation.REQUIRED)
	@Override
	public List<M_MineCategory> find(Integer top) {
		// TODO Auto-generated method stub	
		return this._m_minecategorydao.find(top);
	}
}
